<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>MapSize</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">MapSize()</font></b></p>
<p><b>语法</b></p><blockquote>

Result = <font color="#3A3966"><b>MapSize</b></font>(Map())  </blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns the number of elements in the specified map. It does not change the 
current element. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Map()</i></td>
<td width="90%"> 
 
The map to use. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns the number of elements in the map. 

 

</blockquote><p><b>备注</b></p><blockquote>



This function is very fast (it doesn't iterates all the map but 
uses a cached result) and can be safely used to determine if a map is empty or not. 

 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">NewMap</font></b> <font color="#3A3966">Country</font>.s()

<font color="#3A3966">  Country</font>("FR") = "France"
<font color="#3A3966">  Country</font>("US") = "United States"
  
  <font color="#3A3966">; Will print '2'</font>
  <b><font color="#3A3966">Debug</font></b> "Size of the map: " +<font color="#3A3966"> Str</font>(<font color="#3A3966">MapSize</font>(<font color="#3A3966">Country</font>()))
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="mapsize.html">MapSize()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=mapkey.html>MapKey()</a> - <a href="index.html">Map Index</a> - <a href="nextmapelement.html">NextMapElement()</a> -&gt;<br><br>

</body></html>